package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.CustomerStatementMapper;
import com.spark.incoicings.service.CustomerStatementService;
import com.spark.invoicings.entity.CustomerStatement;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class CustomerStatementServiceImpl extends ServiceImpl<CustomerStatementMapper, CustomerStatement>
implements CustomerStatementService {
    @Resource
    private CustomerStatementMapper cm;

    @Override
    public List<CustomerStatement> selectId(Integer customerId) {
        return cm.selectId(customerId);
    }

    @Override
    public List<CustomerStatement> selectCustomerStatement(Map<String, Object> map) {
        return cm.selectCustomerStatement(map);
    }
}
